package com.itheima.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description NacosProperties
 * @Author junjie Wu 吴俊杰
 * @Date 2024-03-16
 */
@Component
@Data
@ConfigurationProperties(prefix = "person")
public class properties {
    private String name;
    private String age;
}
